import axios from "@/axios"

// 获取热门文章
export function getPopularArticles(sortBy = 'favorites') {
    return axios.post("/article/popular", { sortBy })
}

// 获取热门标签
export function getPopularTags() {
    return axios.post("/tag/popular")
}

// 获取热门分类
export function getPopularCategories() {
    return axios.post("/category/popular")
} 